package com.magist.manage.copyrights.export;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.magist.core.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
public class SupplyContractExportDto extends BaseEntity{
	private static final long serialVersionUID = 1L;
	@Excel(name = "ID", orderNum = "1", width = 10)
	private String showId;
	@Excel(name = "合同编号", orderNum = "1", width = 20)
	private String contractNo;
	@Excel(name = "合同名称", orderNum = "2", width = 20)
	private String contractName;
	@Excel(name = "供应商简称", orderNum = "3", width = 20)
	private String supplyName;
	@Excel(name = "到期状态", orderNum = "4", width = 20)
	private String expireStatus;
	@Excel(name = "有效期", orderNum = "5", width = 20)
	private Integer mounthNum;
	@Excel(name = "开始时间",exportFormat = "yyyy-MM-dd", orderNum = "6", width = 20)
	private Date beginDate;
	@Excel(name = "终止时间",exportFormat = "yyyy-MM-dd",  orderNum = "7", width = 20)
	private Date endDate;
	@Excel(name = "结算形式", replace = {"买断_BUY","预付加分成_PrePayDivide","无预付纯分成_DIVIDE","复合结算_MixClear"}, orderNum = "8", width = 20)
	private String balanceType;
	@Excel(name = "价格", orderNum = "9", width = 20)
	private Double totalAmount;
	@Excel(name = "状态", replace = {"已生效_VALID","已失效_INVALID"}, orderNum = "10", width = 20)
	private String contractStatus;
	@Excel(name = "操作人", orderNum = "11", width = 20)
	private String modifier;
	@Excel(name = "修改时间",exportFormat = "yyyy-MM-dd HH:mm:ss",orderNum = "12", width = 20)
	private Date modifyTime;

}